package com.lxh.baselibray.appupdate;

public class UpdateResponce {


    /**
     * code : 200
     * msg : success
     * data : {"clientId":1,"clientName":"发财树","versionCode":"2","versionName":"V1.1.5","versionType":1,"updateContent":"更新内容：修复xxxbug","clientSize":"5.9M","downloadUrl":"http://42.51.39.90/downLoad/richTree.apk","createTime":"2018-12-29 00:00:00","clientType":1,"force":false,"update":true}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * clientId : 1
         * clientName : 发财树
         * versionCode : 2
         * versionName : V1.1.5
         * versionType : 1
         * updateContent : 更新内容：修复xxxbug
         * clientSize : 5.9M
         * downloadUrl : http://42.51.39.90/downLoad/richTree.apk
         * createTime : 2018-12-29 00:00:00
         * clientType : 1
         * force : false
         * update : true
         */

        private int clientId;
        private String clientName;
        private String versionCode;
        private String versionName;
        private int versionType;
        private String updateContent;
        private String clientSize;
        private String downloadUrl;
        private String createTime;
        private int clientType;
        private boolean force;
        private boolean update;

        public int getClientId() {
            return clientId;
        }

        public void setClientId(int clientId) {
            this.clientId = clientId;
        }

        public String getClientName() {
            return clientName;
        }

        public void setClientName(String clientName) {
            this.clientName = clientName;
        }

        public String getVersionCode() {
            return versionCode;
        }

        public void setVersionCode(String versionCode) {
            this.versionCode = versionCode;
        }

        public String getVersionName() {
            return versionName;
        }

        public void setVersionName(String versionName) {
            this.versionName = versionName;
        }

        public int getVersionType() {
            return versionType;
        }

        public void setVersionType(int versionType) {
            this.versionType = versionType;
        }

        public String getUpdateContent() {
            return updateContent;
        }

        public void setUpdateContent(String updateContent) {
            this.updateContent = updateContent;
        }

        public String getClientSize() {
            return clientSize;
        }

        public void setClientSize(String clientSize) {
            this.clientSize = clientSize;
        }

        public String getDownloadUrl() {
            return downloadUrl;
        }

        public void setDownloadUrl(String downloadUrl) {
            this.downloadUrl = downloadUrl;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getClientType() {
            return clientType;
        }

        public void setClientType(int clientType) {
            this.clientType = clientType;
        }

        public boolean isForce() {
            return force;
        }

        public void setForce(boolean force) {
            this.force = force;
        }

        public boolean isUpdate() {
            return update;
        }

        public void setUpdate(boolean update) {
            this.update = update;
        }
    }
}
